package com.chilly.controller;

import com.chilly.service.IUserService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Controller;

/**
 * Created by Chilly Cui on 2020/12/3.
 */
@Controller("/hello")
public class UserController {

    @DubboReference
    private IUserService userService;


    public String doSayHello() {
        return userService.hello();
    }
}
